package com.bart.b_oo

/**
  * Created by BartG on 2018/10/3.
  */
object TestScalaObject {


  def main(args: Array[String]): Unit = {

    //    不被允许，因为该成员是静态的
    //    StaticObject.name = "bart2"
    println(StaticObject.name)
    StaticObject.age = 20
    println(StaticObject.age)
  }

}
